import config from '../../utils/config';
import apiCreator from '../../utils/apiCreator';
const mainUrl = 'portfolio-server/benchmark';
const api = apiCreator();
export default {
  // /option/otc-option-book-main/saveOption  新增保存
  saveOption: (query) => api.post(`${config.interfaces.type5}portfolio-server/option/otc-option-book-main/saveOption`, query),
  // /option/otc-option-book-main/updateOption 编辑保存
  updateOption: (query) => api.post(`${config.interfaces.type5}portfolio-server/option/otc-option-book-main/updateOption`, query),
  // /option/otc-option-book-main/getOptionDetail 获取详情
  getOptionDetail: (query) => api.get(`${config.interfaces.type5}portfolio-server/option/otc-option-book-main/getOptionDetail`, query),
  // /option/otc-option-book-main/deleteOptionByBookId--根据bundleId删除
  deleteOptionByBookId: (query) => api.get(`${config.interfaces.type5}portfolio-server/option/otc-option-book-main/deleteOptionByBookId`, query),
};
